diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-05-23 19:32:42 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-05-23 20:53:58 +0200 |
| commit | c51b5d9a5f217f8aa59c4bdcb04eb3c87f5129b3 (patch) | |
| tree | a4ce7f77c2b1742119eebf818d9b97db7ed1e310 /src/pages/blog/page/[number].tsx | |
| parent | 5ebd7c14f7303a0feb8ec1d902ecd0e287d929c3 (diff) | |
fix: ensure all topics/thematics have the base url
Diffstat (limited to 'src/pages/blog/page/[number].tsx')
| -rw-r--r-- | src/pages/blog/page/[number].tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pages/blog/page/[number].tsx b/src/pages/blog/page/[number].tsx index 78b1db4..b5efd27 100644 --- a/src/pages/blog/page/[number].tsx +++ b/src/pages/blog/page/[number].tsx @@ -148,8 +148,9 @@ const BlogPage: NextPageWithLayout<BlogPageProps> = ({ <LinksListWidget key="thematics-list" items={getLinksListItems( - thematicsList.map(getPageLinkFromRawData), - 'thematic' + thematicsList.map((thematic) => + getPageLinkFromRawData(thematic, 'thematic') + ) )} title={thematicsListTitle} level={2} @@ -157,8 +158,7 @@ const BlogPage: NextPageWithLayout<BlogPageProps> = ({ <LinksListWidget key="topics-list" items={getLinksListItems( - topicsList.map(getPageLinkFromRawData), - 'topic' + topicsList.map((topic) => getPageLinkFromRawData(topic, 'topic')) )} title={topicsListTitle} level={2} |
